"""
理解异常语法
"""
# 语法格式
try:
    print(1 / 0)
except Exception as e:
    print("除数不能为0", e)
    # 抛出异常
    raise Exception("除数不能为0", e)
finally:
    print("程序结束")
